package com.ruoyi.media.sphxdSend.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频号小店一键发货业务对象 media_sphxd_send
 *
 * @author dqw
 * @date 2023-06-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MediaSphxdSendBo extends BaseEntity {

    /**
     * 主键
     */
    private String id;

    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 账号id
     */
    @NotBlank(message = "账号id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String accountId;

    /**
     * 订单号
     */
    @NotBlank(message = "订单号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String orderId;

    /**
     * 用户昵称
     */
    @NotBlank(message = "用户昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickName;

    /**
     * 商品名称
     */
    @NotBlank(message = "商品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String descTitle;

    /**
     * 省份
     */
    @NotBlank(message = "省份不能为空", groups = { AddGroup.class, EditGroup.class })
    private String provinceName;

    /**
     * 市区
     */
    @NotBlank(message = "市区不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cityName;

    /**
     * 县区
     */
    @NotBlank(message = "县区不能为空", groups = { AddGroup.class, EditGroup.class })
    private String countyName;

    /**
     * 地址详情
     */
    @NotBlank(message = "地址详情不能为空", groups = { AddGroup.class, EditGroup.class })
    private String detailInfo;

    /**
     * 邮编
     */
    @NotBlank(message = "邮编不能为空", groups = { AddGroup.class, EditGroup.class })
    private String postalCode;

    /**
     * 商品标价
     */
    @NotBlank(message = "商品标价不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productPrice;

    /**
     * 订单实际价格
     */
    @NotBlank(message = "订单实际价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private String orderPrice;

    /**
     * 订单状态
     */
    @NotBlank(message = "订单状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String orderStatus;
    /**
     * 账号登录参数
     */
    private String cookies;

    private Date orderCreateTime;


    private String addressAll;
    /**
     * 订单最小金额
     */
    private String orderPriceMin;
    /**
     * 订单最大金额
     */
    private String  orderPriceMax;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 商品id
     */
    private String productId;

    /**
     * 账号的主键
     */
    private String[] idList;

}
